<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class pages extends CI_Controller {
        function __construct(){
            parent::__construct();
            $this->load->helper('url');
            $this->load->model('entity_users');
        }
	public function index()
	{
            $query = $this->entity_users->findUsers('mongo');
            $data['query'] = $query[0];
            $this->load->view('main', $data);
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */